<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8" />
    <title>
        登录
    </title>
    <link href="../css/登录.css" rel="stylesheet" />
    <style type="text/css"></style>
    <script src="jquery-3.4.1.js"></script>
    <script type="text/javascript">
        $(document).ready(function () {
            $(".loginbtn").click(function () {
                    // alert('1232');
                if($(".u").val()==''){
                    alert('不能为空');
                }
            });
        });
    </script>
</head>

<body>

    <div class="loginbox">
        <a href="../choose.html">
            <div class="login_back2">
                <div class="login_back1">返回</div>

            </div>
        </a>


        <div class="login_header">
            登录
        </div>
        <form action="login" method="POST">
            <div class="input_area">
                <div class="userinput">
                    <input type="text" name="username" placeholder="用户名" class="fill u" autofocus>
                </div>
                <div class="userinput">
                    <input type="password" name="userpwd" placeholder="密码" class="fill">
                </div>

            </div>

            <input class="loginbtn" type="submit" value="login">
            <div class="forgetbtn">
                忘记密码
            </div>
        </form>


        


    </div>
</body>

</html>